Guide to use the script for SPR 1155075.

Background

The script is used to set common names in Pro/Intralink to a user specified attribute value. The attribute could be any system defined or user-defined versioned and non-versioned attribute. Lifecycle attributes are also supported. The script is applicable to Intralink 3.3 and 3.4.

Usage:

Execute the script with SQL*Plus in following format,

sqlplus system/manager@intralink @set_common_name_1155075.sql

attribute_name attribute_type default_value overwrite_existing

Where attribute_name is the name of the attribute kept in Intralink. For example, pi_desc, name, piv_desc...

attribute_type is the type of the attribute. It must be one of the following:

default_value is used when the attribute value is null.

overwrite_existing can be either YES or NO. “YES” means to overwrite the existing non-empty Commonname Values, while “NO” means existing non-empty Commonnames will be kept.

Notes

Enter value for 3:

 

Examples:

sqlplus system/manager@intralink @set_common_name_1155075.sql \

name snv ‘’ YES

§         §       Following command set all the empty common names to their main branches’ latest PIVs’ descriptions, and the default value is ----:

sqlplus system/manager@intralink @set_common_name_1155075.sql \

piv_desc sv ‘----’ NO

§         §       Following command sets all the common names to their main branches’ latest PIVs’ attribute “Manufacturer”, and the default value is ----:

sqlplus system/manager@intralink @set_common_name_1155075.sql \

Manufacturer v ‘----’ YES

§         §       Following command sets all the common names to its non-versioned attribute “Material”, and the default value is ----:

sqlplus system/manager@intralink @set_common_name_1155075.sql \

Material nv ‘----’ YES

§         §       Following command sets all the empty common names to its lifecycle attribute “ReleaseState”, and the default value is null:

sqlplus system/manager@intralink @set_common_name_1155075.sql \

ReleaseState  l ‘’ NO